{include file="public/header" /}
<link rel="stylesheet" href="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/css/lightbox.min.css">
<script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/js/lightbox.min.js"></script>
<div class='page'>
      <table border="0" cellpadding="0" cellspacing="0" class="ds-default-table">
       <thead>
           <tr>
               <th colspan="6">基本信息</th>
           </tr>
       </thead>
       <tbody>
           <tr>
               <th >优惠券赠送类型：</th>
               <td>{$voucher_info.send_name}</td>
               <th >优惠劵名称：</th>
               <td>{$voucher_info.voucher_title}</td>
               
           </tr>
           <tr>
              <th >优惠券发放条件：</th>
               <td>
                 {if condition="($voucher_info.pattern_id==1)"}新用户注册首次登录赠送
                  {elseif condition="($voucher_info.pattern_id==2)"}定时发放
                  {elseif condition="($voucher_info.pattern_id==3)"}下单满多少赠送
                  {/if}
               </td>
                <th>状态：</th>
               <td><?php if($voucher_info['type_status']==1){ echo '启用'; }else{ echo'禁用'; } ?></td>
           </tr>
           <tr>
               <th>创建时间：</th>
               <td>{$voucher_info.c_time|date="Y-m-d H:i:s",###}</td>
               {if condition="($voucher_info.pattern_id==1)"}
                <th></th>
                <td></td>
                {elseif condition="($voucher_info.pattern_id==2)"}
                <th>开始时间-结束时间</th>
                <td>
                  {$voucher_info.timing_start_time} - {$voucher_info.timing_end_time}
                </td>
                {elseif condition="($voucher_info.pattern_id==3)"}
                <th>满多少赠送</th>
                <td>
                  {$voucher_info.full_price}
                </td>
                {/if}
           </tr>
      </table>
</div>